package com.farm.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.farm.dao.NameTelDao;
import com.farm.service.NameTelservice;

@Service("NameTelservice")
public class NameTelserviceimpl implements NameTelservice {
	
	@Autowired
	private  NameTelDao nameTelDao;
	
	
	
	//查询学生信息和就餐地点
	@Override
	public Map<String, Object> selectNameTel(Map<String, Object> map) {
		Map<String, Object> selectNameTel = nameTelDao.selectNameTel(map);
		return selectNameTel;
	}

	//查询全部学生信息和就餐地点
	@Override
	public List<Map<String, Object>> selectAll(Map<String, Object> map) {
		List<Map<String, Object>> selectAll = nameTelDao.selectAll(map);
		return selectAll;
	}

}
